import request from '@/router/axios';
export const getSelectList = (params) => {
  return request({
    url: '/api/blade-system/user/current',
    method: 'get',
    params
  });
};

export const getSelectAllList = (params) => {
  return request({
    url: '/api/blade-system/dept/site-select',
    method: 'get',
    params
  });
};
export const postSelect = (params) => {
  return request({
    url: `/api/blade-system/user/change?siteId=${params}`,
    method: 'post'
  });
};
export const getNotReadMessageCount = () => {
  return request({
    url: '/api/mes-alert/messageuser/not-read-message-count',
    method: 'get'
  });
};
export const getReadAllMyMessages = () => {
  return request({
    url: '/api/mes-alert/messageuser/read-all-my-messages',
    method: 'post'
  });
};
